package com.agriculture.monitoring.dto;

import java.time.LocalDateTime;
/**
 * 轨迹点DTO
 * 路径点数据传输对象
 */
public class PathPointDTO {
    private Long id;
    private Long deviceId;
    private Double longitude;
    private Double latitude;
    private LocalDateTime recordTime;
    private Double speed;
    private Double direction;
    
    // 构造函数
    public PathPointDTO() {}
    
    // Getter和Setter
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    
    public Long getDeviceId() { return deviceId; }
    public void setDeviceId(Long deviceId) { this.deviceId = deviceId; }
    
    public Double getLongitude() { return longitude; }
    public void setLongitude(Double longitude) { this.longitude = longitude; }
    
    public Double getLatitude() { return latitude; }
    public void setLatitude(Double latitude) { this.latitude = latitude; }
    
    public LocalDateTime getRecordTime() { return recordTime; }
    public void setRecordTime(LocalDateTime recordTime) { this.recordTime = recordTime; }
    
    public Double getSpeed() { return speed; }
    public void setSpeed(Double speed) { this.speed = speed; }
    
    public Double getDirection() { return direction; }
    public void setDirection(Double direction) { this.direction = direction; }
}